package com.scs.quality.service.impl;

import com.scs.quality.mapper.CheckMapper;
import com.scs.quality.pojo.dto.CheckQuery;
import com.scs.quality.pojo.vo.CheckVO;
import com.scs.quality.service.CheckService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class CheckServiceImpl implements CheckService {
    @Autowired
    private CheckMapper checkMapper;

    @Override
    public List<CheckVO> selectCheck(CheckQuery checkQuery) {
        log.debug("查询检查业务: {}",checkQuery);
        List<CheckVO> list = checkMapper.selectCheck(checkQuery);
        return list;
    }
}
